def numericSum(num):
    sum_total = 0
    n = abs(num)
    while n > 0:
        digit = n % 10  
        sum_total += digit  
        n = n // 10 
    
    return sum_total
print(numericSum(34512))
print(numericSum(-123))  
print(numericSum(0))      
print(numericSum(9999))   
print(numericSum(10086))  